package com.appbee.core.client.design.msg;

import javax.inject.Inject;
import javax.inject.Provider;

import com.appbee.core.client.ui.MessageStyle;

public class MessageStyleProvider implements Provider<MessageStyle>
{
	private final DefaultMessageStyle style;

	@Inject
	public MessageStyleProvider(MessageResources res)
	{
		style = res.style();
		style.ensureInjected();
	}

	@Override
	public MessageStyle get()
	{
		return style;
	}

}
